//
//  statusCellBottom.swift
//  MicroBlog
//
//  Created by QT on 15/8/2.
//  Copyright © 2015年 綦敦涛. All rights reserved.
//

import UIKit

class statusCellBottom: UIView {
    override init(frame: CGRect) {
        super.init(frame:frame)
        
        backgroundColor = UIColor(white: 0.95, alpha: 1)
        
        setUpUi()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    private func setUpUi(){
        // 添加控件
        addSubview(retweet)
        addSubview(comment)
//        comment.backgroundColor = UIColor.redColor()
        addSubview(like)
        // 布局
        ff_HorizontalTile([retweet,comment,like], insets: UIEdgeInsetsZero)
    }
    
    // MARK: -懒加载按钮
    private lazy var  retweet: UIButton = UIButton(title: "转发", imgName: "timeline_icon_retweet", tColor: UIColor.lightGrayColor(), tFont: 12)
    private lazy var  comment: UIButton = UIButton(title: "评论", imgName: "timeline_icon_comment", tColor: UIColor.lightGrayColor(), tFont: 12)
    private lazy var  like: UIButton = UIButton(title: "赞", imgName: "timeline_icon_unlike", tColor: UIColor.lightGrayColor(), tFont: 12)
}
